package com.jk.controller;

import com.jk.dto.TreeBean;
import com.jk.interfaces.TreeBeanServiceApi;
import com.jk.service.TreeBeanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author yzf
 * @version 1.0
 * @description: TODO
 * @date 2024/12/12 14:21
 */
@RestController
public class TreeBeanController implements TreeBeanServiceApi {
    @Autowired
    private TreeBeanService treeBeanService;


    @Override
    public List<TreeBean> findTreeBean(TreeBean treeBean) {
        return treeBeanService.findTreeBean(treeBean);
    }
}
